//
//  UserProfile.m
//  BabyHelper
//
//  Created by  thomas on 11-8-3.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "UserProfile.h"


@implementation UserProfile
@synthesize   type;
@synthesize   userid;
@synthesize   username;
@synthesize	  app_token;
@synthesize	  app_secret;
@synthesize	  access_token;
@synthesize   web_username;
@synthesize   web_password;
@synthesize   email;
@synthesize   usertype;
@synthesize   babyname;
@synthesize   birthday;
@synthesize   gender;

-(id) proxyForJson{
	return [NSDictionary dictionaryWithObjectsAndKeys:
			type,@"type",
			userid,@"id",
			username,@"username",
			app_token,@"app_token",
			app_secret,@"app_secret",
			access_token,@"access_token",
			web_username,@"web_username",
			web_password,@"web_password",
			email,@"email",
			usertype,@"usertype",
			babyname,@"babyname",
			birthday,@"birthday",
			gender,@"gender",
			nil];
}
@end